﻿using System.Runtime.InteropServices;
using NetOffice.OfficeApi.Enums;

namespace WordCrossRefAddin {

    [ComVisible(false)]
    public class Config : SimonPG.ConfigAsJsonBase<Config> {
        // assume: 設定格納クラス

        // sec: 設定項目

        public class CtpConfig {
            public MsoCTPDockPosition DockPosition = MsoCTPDockPosition.msoCTPDockPositionRight;
            public int Height = 500;
            public int Width = 200;
            public bool Visible = true;
        }
        public CtpConfig Ctp = new CtpConfig();

        public class RefPaneConfig {
            public string[] CheckedLabels = new string[0];
            public string SelectedLabelInTabs = "";
        }
        public RefPaneConfig RefPane = new RefPaneConfig();
    }
}
